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.001338/0.001338, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.514/1.514, allocations: 230.6 MB / 252.6 MB, free: 8.312 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.002575/0.002575, allocations: 216.4 kB / 309.2 MB, free: 3.125 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.5565/0.5565, allocations: 101.3 MB / 467 MB, free: 10.29 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="me",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="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.002496/0.002496, allocations: 83.88 kB / 0.6244 GB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4233, allocations: 78.61 MB / 0.7012 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression): time 0.006258/0.4295, allocations: 6.769 MB / 0.7078 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003959/0.4335, allocations: 2.031 MB / 0.7098 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008308/0.4343, allocations: 10.03 kB / 0.7098 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.4349, allocations: 251.4 kB / 0.71 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.4363, allocations: 0.6445 MB / 0.7107 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.4378, allocations: 0.7679 MB / 0.7114 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.4398, allocations: 1.533 MB / 0.7129 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.4402, allocations: 224.8 kB / 0.7131 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.441, allocations: 0.6329 MB / 0.7137 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.442, allocations: 0.8115 MB / 0.7145 GB, free: 316 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002712/0.4423, allocations: 120.9 kB / 0.7147 GB, free: 316 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/0.4429, allocations: 240.7 kB / 0.7149 GB, free: 276 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.4432, allocations: 312.9 kB / 0.7152 GB, free: 68 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006726/0.4438, allocations: 0.6629 MB / 0.7158 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.4462, allocations: 1.631 MB / 0.7174 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4462, allocations: 0 / 0.7174 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4462, allocations: 0 / 0.7174 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.997e-05/0.4462, allocations: 2.781 kB / 0.7174 GB, free: 14.88 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.009181/0.4554, allocations: 2.64 MB / 0.72 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4554, allocations: 8.125 kB / 0.72 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.4556, allocations: 136.7 kB / 0.7201 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/0.4597, allocations: 0.6949 MB / 0.7208 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.4612, allocations: 0.7643 MB / 0.7216 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004763/0.4617, allocations: 454.1 kB / 0.722 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.4619, allocations: 87.48 kB / 0.7221 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/0.4646, allocations: 1.209 MB / 0.7233 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.4646, allocations: 5.141 kB / 0.7233 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.4647, allocations: 30.33 kB / 0.7233 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.4647, allocations: 22.94 kB / 0.7233 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.4677, allocations: 1.175 MB / 0.7245 GB, free: 11.64 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.008194/0.4759, allocations: 3.766 MB / 0.7281 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007554/0.4834, allocations: 2.024 MB / 0.7301 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.4853, allocations: 0.7334 MB / 0.7308 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.4855, allocations: 24.31 kB / 0.7309 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4855, allocations: 44.09 kB / 0.7309 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.905e-06/0.4855, allocations: 0 / 0.7309 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.03913/0.5247, allocations: 8.914 MB / 0.7396 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.5247, allocations: 92.08 kB / 0.7397 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.5263, allocations: 0.929 MB / 0.7406 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.5266, allocations: 45.02 kB / 0.7406 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.5271, allocations: 499.3 kB / 0.7411 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005177/0.5276, allocations: 363.5 kB / 0.7415 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/0.528, allocations: 167.1 kB / 0.7416 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5282, allocations: 347 kB / 0.742 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.53, allocations: 0.7074 MB / 0.7427 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.5319, allocations: 0.8483 MB / 0.7435 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/0.5356, allocations: 1.573 MB / 0.745 GB, free: 344 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.5356, allocations: 1.094 kB / 0.745 GB, free: 344 kB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01656/0.5522, allocations: 4.556 MB / 0.7495 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.5522, allocations: 6.281 kB / 0.7495 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.5522, allocations: 2.969 kB / 0.7495 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008554/0.5608, allocations: 2.297 MB / 0.7517 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009216/0.5617, allocations: 159.7 kB / 0.7519 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03112/0.5928, allocations: 11.01 MB / 0.7626 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.5948, allocations: 183.2 kB / 0.7628 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.595, allocations: 35.94 kB / 0.7628 GB, free: 0.832 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.0006305/0.5956, allocations: 245.6 kB / 0.7631 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.5959, allocations: 127.2 kB / 0.7632 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/0.6123, allocations: 4.49 MB / 0.7676 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.6124, allocations: 12 kB / 0.7676 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6124, allocations: 0 / 0.7676 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.941e-05/0.6124, allocations: 7.922 kB / 0.7676 GB, free: 11.93 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.01959/0.632, allocations: 6.174 MB / 0.7736 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.632, allocations: 0 / 0.7736 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/0.6327, allocations: 111.8 kB / 0.7737 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008293/0.641, allocations: 2.175 MB / 0.7758 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/0.6412, allocations: 16 kB / 0.7759 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02738/0.6686, allocations: 9.762 MB / 0.7854 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6686, allocations: 0 / 0.7854 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/0.6875, allocations: 5.62 MB / 0.7909 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/0.688, allocations: 139 kB / 0.791 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.6882, allocations: 16 kB / 0.791 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.6895, allocations: 123.9 kB / 0.7912 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007829/0.6903, allocations: 252.5 kB / 0.7914 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.141e-05/0.6904, allocations: 20 kB / 0.7914 GB, free: 3.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009473/0.6913, allocations: 0.6473 MB / 0.792 GB, free: 2.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6913, allocations: 0 / 0.792 GB, free: 2.594 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001498/0.6928, allocations: 455.6 kB / 0.7925 GB, free: 2.148 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.01902/0.7118, allocations: 6.186 MB / 0.7985 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008595/0.7204, allocations: 2.543 MB / 0.801 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.7204, allocations: 0 / 0.801 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006513/0.7269, allocations: 1.727 MB / 0.8027 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.7283, allocations: 112.3 kB / 0.8028 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.046/0.7743, allocations: 16.29 MB / 0.8187 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008387/0.7752, allocations: 1.099 MB / 0.8198 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004577/0.7756, allocations: 95.03 kB / 0.8199 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.7763, allocations: 443.3 kB / 0.8203 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.7763, allocations: 0 / 0.8203 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09086/0.8671, allocations: 40.03 MB / 0.8594 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.1, allocations: 11.94 kB / 0.8594 GB, free: 13.44 MB / 0.6231 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 19.775476318001893] Failed to read output from testmodel.py, exit status != 0: 16.236578267998993 16.265388804 15.81421205 Calling exit ...