Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.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.001241/0.001241, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.433/1.433, allocations: 230.6 MB / 252.7 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] 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.001792/0.001792, allocations: 231.6 kB / 309.2 MB, free: 2.926 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.572/0.572, allocations: 107.3 MB / 473 MB, free: 4.391 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL 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.002772/0.002772, allocations: 87.84 kB / 0.6332 GB, free: 4.938 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4238, allocations: 80.16 MB / 0.7115 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.006254/0.4301, allocations: 5.859 MB / 0.7172 GB, free: 236 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.4348, allocations: 1.899 MB / 0.7191 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007476/0.4356, allocations: 10 kB / 0.7191 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.4363, allocations: 245.1 kB / 0.7193 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.4381, allocations: 0.6295 MB / 0.72 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.4401, allocations: 0.7449 MB / 0.7207 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.4424, allocations: 1.515 MB / 0.7222 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.4428, allocations: 193 kB / 0.7223 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.4438, allocations: 0.6231 MB / 0.723 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.4448, allocations: 0.7141 MB / 0.7237 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.445, allocations: 119.5 kB / 0.7238 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.4455, allocations: 240.2 kB / 0.724 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.4458, allocations: 304.1 kB / 0.7243 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.4464, allocations: 0.5337 MB / 0.7248 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.4487, allocations: 1.619 MB / 0.7264 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4487, allocations: 6.25 kB / 0.7264 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4487, allocations: 0 / 0.7264 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.096e-05/0.4487, allocations: 0 / 0.7264 GB, free: 11.21 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.01021/0.4589, allocations: 2.615 MB / 0.7289 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.459, allocations: 13.75 kB / 0.729 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002581/0.4593, allocations: 130 kB / 0.7291 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/0.4641, allocations: 0.6951 MB / 0.7298 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.4659, allocations: 0.7405 MB / 0.7305 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005237/0.4664, allocations: 455.7 kB / 0.7309 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.4666, allocations: 78.11 kB / 0.731 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.4698, allocations: 1.211 MB / 0.7322 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.4698, allocations: 4 kB / 0.7322 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.4699, allocations: 30.31 kB / 0.7322 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.4699, allocations: 22.53 kB / 0.7322 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/0.4731, allocations: 1.16 MB / 0.7334 GB, free: 7.824 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007383/0.4804, allocations: 2.947 MB / 0.7362 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008128/0.4886, allocations: 2.038 MB / 0.7382 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.4907, allocations: 0.747 MB / 0.739 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.4908, allocations: 20.55 kB / 0.739 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/0.4909, allocations: 43.38 kB / 0.739 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=100): time 3.376e-06/0.4909, allocations: 0 / 0.739 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100): time 0.04273/0.5336, allocations: 8.985 MB / 0.7478 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/0.5337, allocations: 92.14 kB / 0.7479 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.5353, allocations: 0.9175 MB / 0.7488 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002912/0.5356, allocations: 41.7 kB / 0.7488 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.5361, allocations: 485.4 kB / 0.7493 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005277/0.5366, allocations: 372.7 kB / 0.7496 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004037/0.537, allocations: 168.6 kB / 0.7498 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.5372, allocations: 342.1 kB / 0.7501 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.5391, allocations: 0.7013 MB / 0.7508 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.5412, allocations: 0.853 MB / 0.7516 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/0.5452, allocations: 1.578 MB / 0.7532 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.5452, allocations: 0 / 0.7532 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01842/0.5636, allocations: 4.566 MB / 0.7576 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.5636, allocations: 8 kB / 0.7577 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5637, allocations: 0 / 0.7577 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009105/0.5728, allocations: 2.292 MB / 0.7599 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009584/0.5737, allocations: 159.8 kB / 0.76 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03362/0.6073, allocations: 10.77 MB / 0.7706 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.6094, allocations: 183.2 kB / 0.7707 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.6095, allocations: 35.98 kB / 0.7708 GB, free: 10.04 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005844/0.6101, allocations: 237.6 kB / 0.771 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.6105, allocations: 127.2 kB / 0.7711 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/0.6281, allocations: 4.478 MB / 0.7755 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.74e-05/0.6281, allocations: 12 kB / 0.7755 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6281, allocations: 0 / 0.7755 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.6281, allocations: 3.984 kB / 0.7755 GB, free: 5.16 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/0.6483, allocations: 5.506 MB / 0.7809 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.6483, allocations: 3.984 kB / 0.7809 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.6491, allocations: 115.8 kB / 0.781 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008858/0.658, allocations: 2.167 MB / 0.7831 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/0.6583, allocations: 20 kB / 0.7831 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02918/0.6874, allocations: 9.521 MB / 0.7924 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.6874, allocations: 4 kB / 0.7924 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02064/0.7081, allocations: 5.597 MB / 0.7979 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.7087, allocations: 135 kB / 0.798 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.7089, allocations: 20 kB / 0.798 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.7103, allocations: 123.8 kB / 0.7982 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008122/0.7111, allocations: 248.5 kB / 0.7984 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.7112, allocations: 28 kB / 0.7984 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009364/0.7121, allocations: 0.6271 MB / 0.799 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7121, allocations: 0 / 0.799 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001393/0.7135, allocations: 455.7 kB / 0.7995 GB, free: 12.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02069/0.7342, allocations: 6.174 MB / 0.8055 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009372/0.7436, allocations: 2.547 MB / 0.808 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7436, allocations: 4.062 kB / 0.808 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007141/0.7507, allocations: 1.731 MB / 0.8097 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.7521, allocations: 106.5 kB / 0.8098 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04931/0.8014, allocations: 16.19 MB / 0.8256 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.802, allocations: 0.5049 MB / 0.8261 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005664/0.8026, allocations: 95.03 kB / 0.8262 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007168/0.8033, allocations: 435.3 kB / 0.8266 GB, free: 268 kB / 0.5762 GB Notification: Performance of SimCode: time 1.553e-06/0.8033, allocations: 0 / 0.8266 GB, free: 268 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/0.9108, allocations: 40.61 MB / 0.8662 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.2, allocations: 10.11 kB / 0.8663 GB, free: 7.805 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.583147624973208] Failed to read output from testmodel.py, exit status != 0: 15.340524417348206 15.370144987 14.915862028 Calling exit ...