Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression.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.001584/0.001584, allocations: 123.8 kB / 17.17 MB, free: 5.918 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.382/1.382, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.001581/0.001581, allocations: 200.7 kB / 306.7 MB, free: 4.352 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.5316/0.5316, allocations: 101.3 MB / 464 MB, free: 11.95 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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_StartFromExternal_using_RealExpression,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_RealExpression",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_RealExpression",fmuType="cs",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.002375/0.002375, allocations: 87.86 kB / 0.62 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1446, allocations: 78.57 MB / 0.6967 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression): time 0.2821/0.4267, allocations: 6.731 MB / 0.7033 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.4306, allocations: 2.017 MB / 0.7052 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.4313, allocations: 11.66 kB / 0.7053 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.4319, allocations: 257.4 kB / 0.7055 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.4333, allocations: 0.6477 MB / 0.7061 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.4348, allocations: 0.7623 MB / 0.7069 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.4364, allocations: 1.537 MB / 0.7084 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.4367, allocations: 217.1 kB / 0.7086 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007078/0.4374, allocations: 0.6381 MB / 0.7092 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008315/0.4383, allocations: 0.8024 MB / 0.71 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.4384, allocations: 121.8 kB / 0.7101 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.4389, allocations: 242.6 kB / 0.7103 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.4391, allocations: 319.5 kB / 0.7106 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.4396, allocations: 0.6596 MB / 0.7113 GB, free: 404 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.4415, allocations: 1.629 MB / 0.7129 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4415, allocations: 0 / 0.7129 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4415, allocations: 0 / 0.7129 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.4415, allocations: 0 / 0.7129 GB, free: 15.65 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009025/0.4505, allocations: 2.713 MB / 0.7155 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4506, allocations: 9.422 kB / 0.7155 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.869e-05/0.4506, allocations: 18.22 kB / 0.7156 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.4508, allocations: 136.1 kB / 0.7157 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004315/0.4551, allocations: 0.7041 MB / 0.7164 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.4566, allocations: 0.8269 MB / 0.7172 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004093/0.457, allocations: 352.9 kB / 0.7175 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.4571, allocations: 84.41 kB / 0.7176 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.4598, allocations: 1.208 MB / 0.7188 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.4598, allocations: 0 / 0.7188 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.4599, allocations: 29.94 kB / 0.7188 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.46, allocations: 20.25 kB / 0.7188 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.463, allocations: 1.178 MB / 0.72 GB, free: 12.4 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.008032/0.4711, allocations: 3.813 MB / 0.7237 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00835/0.4794, allocations: 2.48 MB / 0.7261 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.4815, allocations: 0.7476 MB / 0.7268 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.4816, allocations: 18.02 kB / 0.7269 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.4817, allocations: 44.11 kB / 0.7269 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 3.136e-06/0.4817, allocations: 0 / 0.7269 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.03828/0.52, allocations: 8.992 MB / 0.7357 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.52, allocations: 88.61 kB / 0.7358 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.5216, allocations: 0.9324 MB / 0.7367 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002629/0.5218, allocations: 49.89 kB / 0.7367 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.5222, allocations: 499 kB / 0.7372 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004528/0.5227, allocations: 363.4 kB / 0.7376 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.5231, allocations: 168 kB / 0.7377 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5232, allocations: 350.1 kB / 0.738 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.525, allocations: 0.6999 MB / 0.7387 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.527, allocations: 0.8519 MB / 0.7396 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.5307, allocations: 1.574 MB / 0.7411 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5307, allocations: 1.094 kB / 0.7411 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01642/0.5471, allocations: 4.553 MB / 0.7455 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.5472, allocations: 6.875 kB / 0.7456 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5472, allocations: 3.562 kB / 0.7456 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008111/0.5553, allocations: 2.293 MB / 0.7478 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.5562, allocations: 160.6 kB / 0.7479 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03073/0.5869, allocations: 11.12 MB / 0.7588 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.5888, allocations: 191.2 kB / 0.759 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.589, allocations: 36 kB / 0.759 GB, free: 1.703 MB / 0.5137 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 (85): * Single equations (assignments): 84 * 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.00056/0.5895, allocations: 237.6 kB / 0.7592 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.5898, allocations: 127.2 kB / 0.7594 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/0.606, allocations: 4.501 MB / 0.7638 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.606, allocations: 12 kB / 0.7638 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6061, allocations: 3.938 kB / 0.7638 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/0.6061, allocations: 3.984 kB / 0.7638 GB, free: 12.8 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.01873/0.6248, allocations: 6.202 MB / 0.7698 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.6248, allocations: 0 / 0.7698 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.6255, allocations: 111.8 kB / 0.7699 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007844/0.6333, allocations: 2.163 MB / 0.7721 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/0.6335, allocations: 27.98 kB / 0.7721 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/0.6599, allocations: 9.867 MB / 0.7817 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6599, allocations: 0 / 0.7817 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/0.6784, allocations: 5.609 MB / 0.7872 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/0.6789, allocations: 216.1 kB / 0.7874 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.6791, allocations: 24 kB / 0.7874 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.6803, allocations: 119.8 kB / 0.7875 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007778/0.6811, allocations: 236.6 kB / 0.7878 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.6812, allocations: 27.98 kB / 0.7878 GB, free: 3.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009082/0.6821, allocations: 0.6356 MB / 0.7884 GB, free: 3.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6821, allocations: 4 kB / 0.7884 GB, free: 3.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001433/0.6835, allocations: 463.6 kB / 0.7889 GB, free: 2.773 MB / 0.545 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 (60): * Single equations (assignments): 59 * 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.01859/0.7021, allocations: 6.176 MB / 0.7949 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008203/0.7103, allocations: 2.543 MB / 0.7974 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7103, allocations: 0 / 0.7974 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006084/0.7164, allocations: 1.747 MB / 0.7991 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7175, allocations: 110 kB / 0.7992 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04434/0.7618, allocations: 16.28 MB / 0.8151 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008033/0.7626, allocations: 1.103 MB / 0.8162 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004474/0.7631, allocations: 91.05 kB / 0.8163 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006884/0.7638, allocations: 448.4 kB / 0.8167 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of SimCode: time 1.433e-06/0.7638, allocations: 0 / 0.8167 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07771/0.8415, allocations: 39.12 MB / 0.8549 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.82, allocations: 11.86 kB / 0.8549 GB, free: 15.09 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_RealExpression_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_StartFromExternal_using_RealExpression.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.25667709100526] Failed to read output from testmodel.py, exit status != 0: 14.985326637979597 15.007544024 14.561917587 Calling exit ...