Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 104.3 kB / 19.69 MB, free: 1.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 215.9 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9927/0.9927, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 74.78 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1778, allocations: 89.17 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02849/0.2062, allocations: 22.23 MB / 0.7499 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.2188, allocations: 6.457 MB / 0.7562 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.221, allocations: 123.1 kB / 0.7563 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004226/0.2253, allocations: 1.511 MB / 0.7578 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.2298, allocations: 1.945 MB / 0.7597 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3583/0.5882, allocations: 1.444 MB / 0.7611 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006995/0.5952, allocations: 6.901 MB / 0.7678 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005959/0.6011, allocations: 3.723 MB / 0.7715 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004906/0.606, allocations: 2.938 MB / 0.7743 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006703/0.6127, allocations: 3.559 MB / 0.7778 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002299/0.615, allocations: 0.5272 MB / 0.7783 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.6192, allocations: 1.111 MB / 0.7794 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006088/0.6252, allocations: 2.533 MB / 0.7819 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007513/0.6328, allocations: 2.058 MB / 0.7839 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.6463, allocations: 8.591 MB / 0.7923 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6463, allocations: 0 / 0.7923 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6463, allocations: 0 / 0.7923 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002672/0.6466, allocations: 2.125 kB / 0.7923 GB, free: 9.777 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.0129/0.6595, allocations: 4.473 MB / 0.7966 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.6596, allocations: 9.938 kB / 0.7967 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/0.6613, allocations: 0.5729 MB / 0.7972 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009013/0.6703, allocations: 1.698 MB / 0.7989 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007574/0.6779, allocations: 2.677 MB / 0.8015 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.6782, allocations: 275.8 kB / 0.8018 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/0.68, allocations: 359.1 kB / 0.8021 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01929/0.6992, allocations: 7.713 MB / 0.8096 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.6994, allocations: 21.17 kB / 0.8096 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008725/0.7003, allocations: 158.5 kB / 0.8098 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006105/0.7009, allocations: 483.1 kB / 0.8103 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.7128, allocations: 5.702 MB / 0.8158 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03853/0.7513, allocations: 20.54 MB / 0.8359 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.7548, allocations: 2.014 MB / 0.8379 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003435/0.7582, allocations: 2.109 MB / 0.8399 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.7584, allocations: 13.31 kB / 0.8399 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.7584, allocations: 47.88 kB / 0.84 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.937e-06/0.7584, allocations: 0 / 0.84 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=251): time 0.3271/1.086, allocations: 76.73 MB / 0.9149 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/1.086, allocations: 77.41 kB / 0.915 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/1.089, allocations: 1.701 MB / 0.9166 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006522/1.09, allocations: 69.7 kB / 0.9167 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001575/1.092, allocations: 1.8 MB / 0.9185 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.093, allocations: 0.8941 MB / 0.9193 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/1.095, allocations: 493.3 kB / 0.9198 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.095, allocations: 301.1 kB / 0.9201 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004356/1.099, allocations: 2.726 MB / 0.9228 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004927/1.104, allocations: 3.334 MB / 0.926 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009847/1.114, allocations: 6.395 MB / 0.9323 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/1.114, allocations: 4 kB / 0.9323 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.05002/1.164, allocations: 14.42 MB / 0.9463 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/1.164, allocations: 12 kB / 0.9463 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-05/1.164, allocations: 16 kB / 0.9464 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03839/1.202, allocations: 9.194 MB / 0.9553 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.204, allocations: 299.5 kB / 0.9556 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09192/1.296, allocations: 51.04 MB / 1.005 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/1.299, allocations: 227.7 kB / 1.006 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005599/1.3, allocations: 96 kB / 1.006 GB, free: 8.246 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003683/1.303, allocations: 1.582 MB / 1.007 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000836/1.304, allocations: 262.6 kB / 1.008 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03637/1.34, allocations: 14.47 MB / 1.022 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/1.34, allocations: 28 kB / 1.022 GB, free: 7.84 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001928/1.341, allocations: 44 kB / 1.022 GB, free: 7.797 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.698e-05/1.341, allocations: 11.95 kB / 1.022 GB, free: 7.785 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04893/1.39, allocations: 19.51 MB / 1.041 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-05/1.39, allocations: 4 kB / 1.041 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/1.391, allocations: 159.8 kB / 1.041 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03163/1.422, allocations: 8.982 MB / 1.05 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006122/1.423, allocations: 48 kB / 1.05 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.495/1.918, allocations: 50.58 MB / 1.099 GB, free: 274.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/1.918, allocations: 10.72 kB / 1.099 GB, free: 274.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03165/1.949, allocations: 14.1 MB / 1.113 GB, free: 270.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003062/1.953, allocations: 0.7799 MB / 1.114 GB, free: 270.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007512/1.953, allocations: 50.02 kB / 1.114 GB, free: 270.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/1.956, allocations: 209.7 kB / 1.114 GB, free: 270.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00125/1.957, allocations: 247.9 kB / 1.114 GB, free: 270.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/1.957, allocations: 69.22 kB / 1.114 GB, free: 270.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00148/1.959, allocations: 1.13 MB / 1.115 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/1.959, allocations: 2.344 kB / 1.115 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00486/1.963, allocations: 1.612 MB / 1.117 GB, free: 270 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02816/1.992, allocations: 14.71 MB / 1.131 GB, free: 264.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02118/2.013, allocations: 10.21 MB / 1.141 GB, free: 254.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.47e-05/2.013, allocations: 0.875 kB / 1.141 GB, free: 254.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01728/2.03, allocations: 7.013 MB / 1.148 GB, free: 247.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/2.034, allocations: 0.5642 MB / 1.149 GB, free: 247.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0906/2.125, allocations: 50.51 MB / 1.198 GB, free: 195.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003837/2.129, allocations: 2.685 MB / 1.201 GB, free: 193.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001149/2.13, allocations: 385.2 kB / 1.201 GB, free: 192.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/2.132, allocations: 1.464 MB / 1.202 GB, free: 191.3 MB / 0.8419 GB Notification: Performance of SimCode: time 2.615e-06/2.132, allocations: 0.7656 kB / 1.202 GB, free: 191.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/2.303, allocations: 129.2 MB / 1.329 GB, free: 62.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/17.48, allocations: 12 kB / 1.329 GB, free: 62.61 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.80830455617979] Failed to read output from testmodel.py, exit status != 0: 17.652545539662242 17.667259036 17.018325869999998 Calling exit ...