Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 118.3 kB / 17.13 MB, free: 5.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 194.2 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002445/0.002445, allocations: 283.8 kB / 303.6 MB, free: 3.656 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 180.9 MB / 0.5268 GB, free: 2.738 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 95.83 kB / 0.7259 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6034/0.6063, allocations: 94.16 MB / 0.8178 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004329/0.6106, allocations: 3.11 MB / 0.8209 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.6134, allocations: 1.926 MB / 0.8228 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.6135, allocations: 8.031 kB / 0.8228 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009138/0.6144, allocations: 286.6 kB / 0.823 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.6149, allocations: 194.1 kB / 0.8232 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.6155, allocations: 251 kB / 0.8235 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.6159, allocations: 321.6 kB / 0.8238 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.6162, allocations: 156 kB / 0.8239 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.6163, allocations: 140.6 kB / 0.8241 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.6166, allocations: 161.9 kB / 0.8242 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.6167, allocations: 16.88 kB / 0.8242 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006648/0.6173, allocations: 412.7 kB / 0.8246 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.6174, allocations: 87.23 kB / 0.8247 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.6175, allocations: 124.8 kB / 0.8248 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.6182, allocations: 494.7 kB / 0.8253 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6182, allocations: 0 / 0.8253 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6182, allocations: 4 kB / 0.8253 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.6182, allocations: 0 / 0.8253 GB, free: 2.875 MB / 0.5762 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.0007582/0.619, allocations: 0.5704 MB / 0.8259 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.619, allocations: 8.406 kB / 0.8259 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008097/0.6198, allocations: 109.6 kB / 0.826 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.6201, allocations: 268.7 kB / 0.8262 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.6202, allocations: 17.36 kB / 0.8262 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.6202, allocations: 17.56 kB / 0.8263 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.6207, allocations: 356.8 kB / 0.8266 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6207, allocations: 0 / 0.8266 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.6208, allocations: 14.72 kB / 0.8266 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/0.6208, allocations: 20.48 kB / 0.8266 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.6213, allocations: 300.6 kB / 0.8269 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.6231, allocations: 1.721 MB / 0.8286 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.6236, allocations: 324.2 kB / 0.8289 GB, free: 144 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.6237, allocations: 101.6 kB / 0.829 GB, free: 96 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.6238, allocations: 93.66 kB / 0.8291 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6239, allocations: 31.36 kB / 0.8291 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.6239, allocations: 4 kB / 0.8291 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002575/0.6264, allocations: 0.9647 MB / 0.8301 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.6266, allocations: 84.05 kB / 0.8301 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.6268, allocations: 212.5 kB / 0.8304 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.6269, allocations: 33.03 kB / 0.8304 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.627, allocations: 173.1 kB / 0.8305 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.6271, allocations: 88.66 kB / 0.8306 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.6272, allocations: 62.39 kB / 0.8307 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.6274, allocations: 331.3 kB / 0.831 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.6276, allocations: 134.6 kB / 0.8311 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.6279, allocations: 209.9 kB / 0.8313 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.6284, allocations: 361.8 kB / 0.8317 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6284, allocations: 2.531 kB / 0.8317 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009397/0.6293, allocations: 0.5089 MB / 0.8322 GB, free: 14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6294, allocations: 11.11 kB / 0.8322 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6294, allocations: 2.281 kB / 0.8322 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.6299, allocations: 146.2 kB / 0.8323 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.6302, allocations: 62.11 kB / 0.8324 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.6342, allocations: 4.194 MB / 0.8365 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.6344, allocations: 20.17 kB / 0.8365 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.6344, allocations: 17.42 kB / 0.8365 GB, free: 9.898 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.6346, allocations: 168.1 kB / 0.8367 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.6347, allocations: 19.11 kB / 0.8367 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009462/0.6356, allocations: 473.8 kB / 0.8372 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.6356, allocations: 2.938 kB / 0.8372 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.6356, allocations: 1.219 kB / 0.8372 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6356, allocations: 1.734 kB / 0.8372 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.6374, allocations: 1.01 MB / 0.8381 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6374, allocations: 7.094 kB / 0.8382 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.6375, allocations: 34.7 kB / 0.8382 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.6379, allocations: 138.9 kB / 0.8383 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.638, allocations: 10.86 kB / 0.8383 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003571/0.6415, allocations: 4.157 MB / 0.8424 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6415, allocations: 2.5 kB / 0.8424 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.6425, allocations: 0.6292 MB / 0.843 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.6427, allocations: 126.3 kB / 0.8431 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.6427, allocations: 12.45 kB / 0.8431 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.6429, allocations: 23.75 kB / 0.8432 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.643, allocations: 20.86 kB / 0.8432 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.643, allocations: 9.766 kB / 0.8432 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001969/0.6432, allocations: 158.4 kB / 0.8433 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6432, allocations: 0 / 0.8433 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000597/0.6438, allocations: 91.2 kB / 0.8434 GB, free: 4.09 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002778/0.6441, allocations: 137 kB / 0.8436 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.6452, allocations: 0.558 MB / 0.8441 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6452, allocations: 0.9688 kB / 0.8441 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.6458, allocations: 391.6 kB / 0.8445 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.6463, allocations: 47.02 kB / 0.8445 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.6476, allocations: 0.6797 MB / 0.8452 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.6481, allocations: 0.7823 MB / 0.846 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.6482, allocations: 24.16 kB / 0.846 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.6482, allocations: 0 / 0.846 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of Templates: time 0.01371/0.6619, allocations: 7.648 MB / 0.8534 GB, free: 328 kB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.510400723898783] Failed to read output from testmodel.py, exit status != 0: 0.6700807318557054 0.683299452 0.062187303000000006 Calling exit ...