Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009994/0.0009995, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000593/0.000593, allocations: 19.42 kB / 0.6738 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3184, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004657/0.3231, allocations: 2.669 MB / 0.79 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003647/0.3268, allocations: 1.803 MB / 0.7918 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.3271, allocations: 4 kB / 0.7918 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3274, allocations: 31.72 kB / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007759/0.3282, allocations: 139.3 kB / 0.7919 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009406/0.3291, allocations: 179.5 kB / 0.7921 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.3298, allocations: 366.8 kB / 0.7925 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008135/0.3306, allocations: 309.8 kB / 0.7928 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.3309, allocations: 107.5 kB / 0.7929 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.3314, allocations: 135.5 kB / 0.793 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/0.3315, allocations: 12 kB / 0.793 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.3321, allocations: 255.6 kB / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3323, allocations: 71.8 kB / 0.7933 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.3324, allocations: 69.58 kB / 0.7934 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005924/0.333, allocations: 355.1 kB / 0.7937 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.333, allocations: 0 / 0.7937 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.254e-06/0.333, allocations: 0 / 0.7937 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.333, allocations: 0 / 0.7937 GB, free: 5.344 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001103/0.3341, allocations: 0.5184 MB / 0.7942 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3342, allocations: 15.97 kB / 0.7942 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.436e-05/0.3343, allocations: 62.55 kB / 0.7943 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008327/0.3351, allocations: 111.5 kB / 0.7944 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.3355, allocations: 258.6 kB / 0.7946 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.3356, allocations: 12.44 kB / 0.7947 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.3356, allocations: 19.98 kB / 0.7947 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.3362, allocations: 356.9 kB / 0.795 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3362, allocations: 0 / 0.795 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.3363, allocations: 12 kB / 0.795 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.3363, allocations: 20.42 kB / 0.7951 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/0.3368, allocations: 297.5 kB / 0.7953 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.3391, allocations: 1.745 MB / 0.797 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.3397, allocations: 322.1 kB / 0.7973 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.3399, allocations: 97.67 kB / 0.7974 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.34, allocations: 93.47 kB / 0.7975 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.3401, allocations: 34.5 kB / 0.7976 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.464e-06/0.3401, allocations: 0 / 0.7976 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002739/0.3429, allocations: 0.9834 MB / 0.7985 GB, free: 28 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/0.343, allocations: 89.31 kB / 0.7986 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3432, allocations: 207.8 kB / 0.7988 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3432, allocations: 29.7 kB / 0.7988 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3433, allocations: 168.1 kB / 0.799 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.3434, allocations: 78.84 kB / 0.7991 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.3435, allocations: 4 kB / 0.7991 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3436, allocations: 334.8 kB / 0.7994 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3438, allocations: 127.9 kB / 0.7995 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.3441, allocations: 217.8 kB / 0.7997 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.3443, allocations: 167.2 kB / 0.7999 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3443, allocations: 4 kB / 0.7999 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008793/0.3452, allocations: 0.5044 MB / 0.8004 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.3453, allocations: 8 kB / 0.8004 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.3453, allocations: 7.953 kB / 0.8004 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.3458, allocations: 147.4 kB / 0.8005 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.3461, allocations: 59.91 kB / 0.8006 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.3493, allocations: 3.957 MB / 0.8045 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3495, allocations: 19.98 kB / 0.8045 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.3495, allocations: 12 kB / 0.8045 GB, free: 9.488 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.3497, allocations: 165.9 kB / 0.8046 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.3498, allocations: 23.72 kB / 0.8047 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009256/0.3508, allocations: 480.2 kB / 0.8051 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3508, allocations: 4 kB / 0.8051 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.3508, allocations: 0 / 0.8051 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.3508, allocations: 3.984 kB / 0.8051 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.3525, allocations: 0.9998 MB / 0.8061 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.3525, allocations: 7.984 kB / 0.8061 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3527, allocations: 28.23 kB / 0.8061 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004274/0.3531, allocations: 151.2 kB / 0.8063 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.3531, allocations: 11.98 kB / 0.8063 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.356, allocations: 3.946 MB / 0.8102 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-05/0.356, allocations: 7.938 kB / 0.8102 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.3568, allocations: 0.6181 MB / 0.8108 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.357, allocations: 124.8 kB / 0.8109 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.357, allocations: 8 kB / 0.8109 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3573, allocations: 31.91 kB / 0.8109 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3573, allocations: 27.95 kB / 0.8109 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3574, allocations: 11.98 kB / 0.811 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001639/0.3575, allocations: 152.2 kB / 0.8111 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3575, allocations: 0 / 0.8111 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005635/0.3581, allocations: 84 kB / 0.8112 GB, free: 2.109 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/0.3599, allocations: 1.218 MB / 0.8124 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.3614, allocations: 0.563 MB / 0.8129 GB, free: 248 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3614, allocations: 3.938 kB / 0.8129 GB, free: 244 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.3622, allocations: 402.4 kB / 0.8133 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.3629, allocations: 39.2 kB / 0.8133 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.3674, allocations: 1.795 MB / 0.8151 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.3681, allocations: 0.7908 MB / 0.8159 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003025/0.3684, allocations: 54.25 kB / 0.8159 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.3686, allocations: 71.41 kB / 0.816 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of SimCode: time 1.143e-06/0.3686, allocations: 0 / 0.816 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.3983, allocations: 6.197 MB / 0.822 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/0.3986, allocations: 215.7 kB / 0.8222 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.458, allocations: 3.125 kB / 0.8223 GB, free: 6.684 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) Environment - environmentSimulation: