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.001243/0.001243, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.395/1.395, allocations: 230.6 MB / 253.5 MB, free: 14.27 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.001538/0.001538, allocations: 205.4 kB / 310 MB, free: 3.074 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.5937/0.5937, allocations: 101.3 MB / 467.7 MB, free: 32.01 MB / 350.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.002326/0.002326, allocations: 89.77 kB / 0.6251 GB, free: 32.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1376, allocations: 78.61 MB / 0.7018 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression): time 0.00732/0.1449, allocations: 5.915 MB / 0.7076 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004077/0.149, allocations: 1.927 MB / 0.7095 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000501/0.1495, allocations: 15.94 kB / 0.7095 GB, free: 8.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.1501, allocations: 237.9 kB / 0.7097 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.1516, allocations: 0.6329 MB / 0.7104 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.1532, allocations: 0.7455 MB / 0.7111 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.155, allocations: 1.533 MB / 0.7126 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000384/0.1554, allocations: 225.3 kB / 0.7128 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007733/0.1562, allocations: 0.6341 MB / 0.7134 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009466/0.1571, allocations: 0.809 MB / 0.7142 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.1573, allocations: 120 kB / 0.7143 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.1578, allocations: 251.9 kB / 0.7146 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.158, allocations: 306.7 kB / 0.7149 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.1586, allocations: 0.5477 MB / 0.7154 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.1604, allocations: 1.634 MB / 0.717 GB, free: 1.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1604, allocations: 4 kB / 0.717 GB, free: 1.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1604, allocations: 0 / 0.717 GB, free: 1.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.1604, allocations: 4 kB / 0.717 GB, free: 1.242 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.008889/0.1693, allocations: 2.643 MB / 0.7196 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1694, allocations: 8.031 kB / 0.7196 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.932e-05/0.1694, allocations: 26 kB / 0.7196 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001709/0.1696, allocations: 134.8 kB / 0.7197 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.1739, allocations: 0.6977 MB / 0.7204 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.1752, allocations: 0.7517 MB / 0.7212 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004584/0.1757, allocations: 460 kB / 0.7216 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.1759, allocations: 83.95 kB / 0.7217 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.1785, allocations: 1.211 MB / 0.7229 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1785, allocations: 0 / 0.7229 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1786, allocations: 32 kB / 0.7229 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.1787, allocations: 20 kB / 0.7229 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.1814, allocations: 1.175 MB / 0.7241 GB, free: 9.828 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.006891/0.1883, allocations: 2.851 MB / 0.7268 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007209/0.1955, allocations: 2.037 MB / 0.7288 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.1973, allocations: 0.7346 MB / 0.7295 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.1974, allocations: 17 kB / 0.7296 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.1974, allocations: 39.56 kB / 0.7296 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 3.367e-06/0.1974, allocations: 0 / 0.7296 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.03714/0.2346, allocations: 8.915 MB / 0.7383 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.2346, allocations: 86.11 kB / 0.7384 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.236, allocations: 0.9346 MB / 0.7393 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.2362, allocations: 41.7 kB / 0.7393 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.2366, allocations: 497.4 kB / 0.7398 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.237, allocations: 360.8 kB / 0.7402 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.2374, allocations: 170.9 kB / 0.7403 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2376, allocations: 357.9 kB / 0.7407 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.2393, allocations: 0.6974 MB / 0.7413 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.2411, allocations: 0.8462 MB / 0.7422 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/0.2445, allocations: 1.574 MB / 0.7437 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.2445, allocations: 0 / 0.7437 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01545/0.2599, allocations: 4.55 MB / 0.7482 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.26, allocations: 14.44 kB / 0.7482 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.26, allocations: 4 kB / 0.7482 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007768/0.2678, allocations: 2.292 MB / 0.7504 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.2686, allocations: 155.8 kB / 0.7506 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02855/0.2971, allocations: 10.78 MB / 0.7611 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.2987, allocations: 183.2 kB / 0.7613 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.2988, allocations: 40 kB / 0.7613 GB, free: 3.281 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.0004749/0.2993, allocations: 237.6 kB / 0.7615 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.2996, allocations: 127.2 kB / 0.7616 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/0.3148, allocations: 4.505 MB / 0.766 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.3148, allocations: 12 kB / 0.7661 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.3148, allocations: 3.938 kB / 0.7661 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.3148, allocations: 3.984 kB / 0.7661 GB, free: 14.38 MB / 0.545 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.01682/0.3316, allocations: 5.561 MB / 0.7715 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.3317, allocations: 3.938 kB / 0.7715 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.3322, allocations: 111.8 kB / 0.7716 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007388/0.3396, allocations: 2.163 MB / 0.7737 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.3398, allocations: 24 kB / 0.7737 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/0.3649, allocations: 9.518 MB / 0.783 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.3649, allocations: 7.984 kB / 0.783 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/0.3827, allocations: 5.616 MB / 0.7885 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.3831, allocations: 139 kB / 0.7887 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.3834, allocations: 20 kB / 0.7887 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.3846, allocations: 119.8 kB / 0.7888 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008303/0.3854, allocations: 244.5 kB / 0.789 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.3855, allocations: 28 kB / 0.7891 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009323/0.3865, allocations: 0.6395 MB / 0.7897 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3865, allocations: 0 / 0.7897 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001431/0.3879, allocations: 463.6 kB / 0.7901 GB, free: 5.52 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.01784/0.4057, allocations: 6.178 MB / 0.7962 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007907/0.4137, allocations: 2.535 MB / 0.7986 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4137, allocations: 4 kB / 0.7986 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005919/0.4196, allocations: 1.739 MB / 0.8003 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.4207, allocations: 108.3 kB / 0.8004 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3204/0.7411, allocations: 16.28 MB / 0.8163 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.7416, allocations: 0.5078 MB / 0.8168 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003899/0.7419, allocations: 87.02 kB / 0.8169 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/0.7424, allocations: 450.2 kB / 0.8173 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.613e-06/0.7424, allocations: 0 / 0.8173 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06663/0.8091, allocations: 40.06 MB / 0.8565 GB, free: 75.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.47, allocations: 9.781 kB / 0.8565 GB, free: 75.38 MB / 0.5762 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 & /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: 19.015694175031967] Failed to read output from testmodel.py, exit status != 0: 15.6556182699278 15.665509173 15.502943816 Calling exit ...