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.001329/0.001329, 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.443/1.443, allocations: 230.6 MB / 252.7 MB, free: 8.059 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.002773/0.002773, allocations: 232.2 kB / 309.2 MB, free: 2.934 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.5802/0.5802, allocations: 107.3 MB / 473 MB, free: 4.43 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_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.002767/0.002767, allocations: 87.88 kB / 0.6332 GB, free: 4.961 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4368, allocations: 80.16 MB / 0.7115 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression): time 0.006491/0.4433, allocations: 5.938 MB / 0.7173 GB, free: 200 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0051/0.4484, allocations: 1.923 MB / 0.7192 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009427/0.4494, allocations: 12.66 kB / 0.7192 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007364/0.4501, allocations: 252 kB / 0.7194 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.4524, allocations: 0.6297 MB / 0.7201 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.4544, allocations: 0.7554 MB / 0.7208 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002341/0.4568, allocations: 1.533 MB / 0.7223 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.4572, allocations: 207.2 kB / 0.7225 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.4583, allocations: 0.6356 MB / 0.7231 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.4594, allocations: 0.7251 MB / 0.7238 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.4596, allocations: 121.4 kB / 0.7239 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.4601, allocations: 229.2 kB / 0.7242 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.4604, allocations: 317.6 kB / 0.7245 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.461, allocations: 0.5442 MB / 0.725 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.4631, allocations: 1.647 MB / 0.7266 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4631, allocations: 0 / 0.7266 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4631, allocations: 4 kB / 0.7266 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.853e-05/0.4632, allocations: 0 / 0.7266 GB, free: 11.08 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.0101/0.4733, allocations: 2.632 MB / 0.7292 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4733, allocations: 13.81 kB / 0.7292 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002346/0.4735, allocations: 131.7 kB / 0.7293 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.4784, allocations: 0.7003 MB / 0.73 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.4802, allocations: 0.7556 MB / 0.7307 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.4807, allocations: 453.7 kB / 0.7312 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.4808, allocations: 88.2 kB / 0.7313 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/0.4838, allocations: 1.211 MB / 0.7324 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.4838, allocations: 0 / 0.7324 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.4839, allocations: 30.84 kB / 0.7325 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.484, allocations: 19.03 kB / 0.7325 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.4869, allocations: 1.172 MB / 0.7336 GB, free: 7.656 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.00744/0.4944, allocations: 2.848 MB / 0.7364 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007668/0.502, allocations: 2.026 MB / 0.7384 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.504, allocations: 0.7338 MB / 0.7391 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.5041, allocations: 24.05 kB / 0.7391 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.5042, allocations: 44.06 kB / 0.7392 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 3.647e-06/0.5042, allocations: 0 / 0.7392 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.04039/0.5446, allocations: 8.906 MB / 0.7479 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.5447, allocations: 95.94 kB / 0.748 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.5467, allocations: 0.9379 MB / 0.7489 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003867/0.547, allocations: 45.23 kB / 0.7489 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.5475, allocations: 496.8 kB / 0.7494 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005342/0.5481, allocations: 363.2 kB / 0.7497 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004081/0.5485, allocations: 163.4 kB / 0.7499 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5486, allocations: 354.3 kB / 0.7502 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.5506, allocations: 0.7005 MB / 0.7509 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.5527, allocations: 0.8502 MB / 0.7517 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.5568, allocations: 1.568 MB / 0.7533 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.5568, allocations: 7.938 kB / 0.7533 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01731/0.5741, allocations: 4.554 MB / 0.7577 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.5741, allocations: 9.875 kB / 0.7577 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.5742, allocations: 4 kB / 0.7577 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008921/0.5831, allocations: 2.288 MB / 0.76 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/0.584, allocations: 159.7 kB / 0.7601 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03226/0.6162, allocations: 10.77 MB / 0.7706 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.6182, allocations: 183.2 kB / 0.7708 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.6183, allocations: 36 kB / 0.7709 GB, free: 9.977 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 (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.0005525/0.6188, allocations: 239.5 kB / 0.7711 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.6191, allocations: 127.2 kB / 0.7712 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/0.6361, allocations: 4.497 MB / 0.7756 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.6361, allocations: 8 kB / 0.7756 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6361, allocations: 0 / 0.7756 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.053e-05/0.6361, allocations: 11.92 kB / 0.7756 GB, free: 5.074 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.01962/0.6557, allocations: 5.565 MB / 0.7811 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.6557, allocations: 4 kB / 0.7811 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.6565, allocations: 107.8 kB / 0.7812 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008414/0.6649, allocations: 2.167 MB / 0.7833 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/0.6651, allocations: 20 kB / 0.7833 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02837/0.6935, allocations: 9.533 MB / 0.7926 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6935, allocations: 0 / 0.7926 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/0.7133, allocations: 5.609 MB / 0.7981 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/0.7139, allocations: 146.9 kB / 0.7982 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.7142, allocations: 20 kB / 0.7982 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.7155, allocations: 119.8 kB / 0.7984 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008222/0.7163, allocations: 248.5 kB / 0.7986 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.7164, allocations: 24 kB / 0.7986 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001022/0.7175, allocations: 0.6434 MB / 0.7992 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7175, allocations: 0 / 0.7992 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001485/0.7189, allocations: 455.7 kB / 0.7997 GB, free: 12.21 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 (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.0203/0.7393, allocations: 6.186 MB / 0.8057 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008749/0.748, allocations: 2.539 MB / 0.8082 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.748, allocations: 0 / 0.8082 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00648/0.7545, allocations: 1.735 MB / 0.8099 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.7556, allocations: 112.3 kB / 0.81 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04779/0.8034, allocations: 16.27 MB / 0.8259 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.8041, allocations: 0.5134 MB / 0.8264 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005437/0.8047, allocations: 91.05 kB / 0.8265 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006987/0.8054, allocations: 451.2 kB / 0.8269 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of SimCode: time 1.764e-06/0.8054, allocations: 0 / 0.8269 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08646/0.8918, allocations: 40.85 MB / 0.8668 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.19, allocations: 0 / 0.8668 GB, free: 7.332 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.59032189194113] Failed to read output from testmodel.py, exit status != 0: 15.327994840219617 15.345288535 14.878914573 Calling exit ...