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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 105.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 244.8 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 190.2 kB / 299.8 MB, free: 9.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5389/0.5389, allocations: 99.67 MB / 454.4 MB, free: 5.043 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 83.84 kB / 0.6073 GB, free: 9.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1446, allocations: 76.94 MB / 0.6825 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression): time 0.008812/0.1534, allocations: 6.709 MB / 0.689 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005525/0.1589, allocations: 1.989 MB / 0.691 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.1605, allocations: 8 kB / 0.691 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.1617, allocations: 261.9 kB / 0.6912 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.1646, allocations: 0.6445 MB / 0.6919 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.1672, allocations: 0.8032 MB / 0.6926 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002877/0.17, allocations: 1.53 MB / 0.6941 GB, free: 428 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005374/0.1706, allocations: 232.5 kB / 0.6944 GB, free: 176 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2712/0.4418, allocations: 0.6022 MB / 0.6949 GB, free: 8.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.4432, allocations: 0.8087 MB / 0.6957 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.4436, allocations: 120.4 kB / 0.6958 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006368/0.4442, allocations: 229 kB / 0.6961 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.4444, allocations: 316.4 kB / 0.6964 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.4451, allocations: 0.6642 MB / 0.697 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.4469, allocations: 1.617 MB / 0.6986 GB, free: 8.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4469, allocations: 0 / 0.6986 GB, free: 8.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4469, allocations: 0.5938 kB / 0.6986 GB, free: 8.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.4469, allocations: 0 / 0.6986 GB, free: 8.254 MB / 494.1 MB 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.009061/0.456, allocations: 2.717 MB / 0.7012 GB, free: 7.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.456, allocations: 9.625 kB / 0.7013 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.4562, allocations: 133.6 kB / 0.7014 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.4605, allocations: 0.6911 MB / 0.7021 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.462, allocations: 0.8278 MB / 0.7029 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.4623, allocations: 348.7 kB / 0.7032 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.4625, allocations: 81.91 kB / 0.7033 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.465, allocations: 1.22 MB / 0.7045 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.465, allocations: 0.6562 kB / 0.7045 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.4651, allocations: 29.22 kB / 0.7045 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.4651, allocations: 18.34 kB / 0.7045 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.4676, allocations: 1.173 MB / 0.7057 GB, free: 6.449 MB / 494.1 MB 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.006801/0.4744, allocations: 3.823 MB / 0.7094 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007787/0.4822, allocations: 2.486 MB / 0.7118 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.4842, allocations: 0.7306 MB / 0.7125 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.4843, allocations: 13.59 kB / 0.7125 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4843, allocations: 44.98 kB / 0.7126 GB, free: 3.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 3.156e-06/0.4843, allocations: 3.938 kB / 0.7126 GB, free: 3.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.03755/0.5219, allocations: 8.996 MB / 0.7214 GB, free: 176 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.5219, allocations: 88.33 kB / 0.7215 GB, free: 76 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.5234, allocations: 0.929 MB / 0.7224 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000269/0.5236, allocations: 46.42 kB / 0.7224 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.524, allocations: 0.4886 MB / 0.7229 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.5245, allocations: 368.1 kB / 0.7232 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.5249, allocations: 170.7 kB / 0.7234 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.525, allocations: 343 kB / 0.7237 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.5267, allocations: 0.6954 MB / 0.7244 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.5285, allocations: 0.8576 MB / 0.7253 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003547/0.5321, allocations: 1.565 MB / 0.7268 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.5321, allocations: 5.156 kB / 0.7268 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01649/0.5486, allocations: 4.558 MB / 0.7312 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.5486, allocations: 10.77 kB / 0.7312 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.5486, allocations: 3.812 kB / 0.7312 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008492/0.5571, allocations: 2.292 MB / 0.7335 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5582, allocations: 151.6 kB / 0.7336 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03088/0.5891, allocations: 11.13 MB / 0.7445 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.591, allocations: 184.1 kB / 0.7447 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/0.5913, allocations: 38.95 kB / 0.7447 GB, free: 0.5273 MB / 0.4981 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.0006731/0.5919, allocations: 238.6 kB / 0.7449 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/0.5924, allocations: 123.2 kB / 0.7451 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0162/0.6086, allocations: 4.504 MB / 0.7495 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.6086, allocations: 8 kB / 0.7495 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6086, allocations: 4 kB / 0.7495 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.6086, allocations: 3.984 kB / 0.7495 GB, free: 11.67 MB / 0.5137 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.01955/0.6282, allocations: 6.199 MB / 0.7555 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.6282, allocations: 5.125 kB / 0.7555 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/0.6289, allocations: 105.2 kB / 0.7556 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007949/0.6368, allocations: 2.172 MB / 0.7578 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002717/0.6371, allocations: 19.94 kB / 0.7578 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02718/0.6643, allocations: 9.866 MB / 0.7674 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6643, allocations: 4 kB / 0.7674 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/0.6832, allocations: 5.614 MB / 0.7729 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.6837, allocations: 224 kB / 0.7731 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/0.684, allocations: 16 kB / 0.7731 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.6855, allocations: 123.8 kB / 0.7732 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008278/0.6863, allocations: 233.6 kB / 0.7735 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.6865, allocations: 28 kB / 0.7735 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001008/0.6875, allocations: 0.6395 MB / 0.7741 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6875, allocations: 0 / 0.7741 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001564/0.689, allocations: 462.2 kB / 0.7746 GB, free: 1.77 MB / 0.5294 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.01905/0.7081, allocations: 6.191 MB / 0.7806 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00882/0.7169, allocations: 2.535 MB / 0.7831 GB, free: 9.062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7169, allocations: 0 / 0.7831 GB, free: 9.062 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006337/0.7232, allocations: 1.738 MB / 0.7848 GB, free: 7.324 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.7246, allocations: 107.7 kB / 0.7849 GB, free: 7.219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04652/0.7711, allocations: 16.29 MB / 0.8008 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009186/0.772, allocations: 1.095 MB / 0.8019 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004713/0.7725, allocations: 89.64 kB / 0.8019 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007001/0.7732, allocations: 455.2 kB / 0.8024 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.7732, allocations: 0 / 0.8024 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08404/0.8572, allocations: 39.09 MB / 0.8405 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.78, allocations: 5.406 kB / 0.8406 GB, free: 14.38 MB / 0.6075 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.175087409093976] Failed to read output from testmodel.py, exit status != 0: 14.893948893994093 14.914480555999999 14.463428207 Calling exit ...