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.0007674/0.0007674, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8428/0.8428, allocations: 177.1 MB / 199.4 MB, free: 5.941 MB / 186.7 MB " [Timeout remaining time 179] 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.00106/0.00106, allocations: 156.1 kB / 256 MB, free: 13.36 MB / 250.7 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.2556/0.2556, allocations: 80.37 MB / 392.7 MB, free: 2.367 MB / 314.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.5549 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.177e-05, allocations: 6.281 kB / 0.555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO_StartFromExternal_using_RealExpression): time 0.004851/0.004873, allocations: 5.921 MB / 0.5607 GB, free: 6.629 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.007931, allocations: 1.927 MB / 0.5626 GB, free: 4.695 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.008447, allocations: 8 kB / 0.5626 GB, free: 4.688 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.008906, allocations: 249.8 kB / 0.5629 GB, free: 4.441 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.009954, allocations: 0.6481 MB / 0.5635 GB, free: 3.789 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.01102, allocations: 0.7446 MB / 0.5642 GB, free: 3.051 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.01226, allocations: 1.572 MB / 0.5658 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.01256, allocations: 209 kB / 0.566 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008625/0.01342, allocations: 0.8805 MB / 0.5668 GB, free: 380 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.014, allocations: 0.627 MB / 0.5674 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.01416, allocations: 124 kB / 0.5676 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.0145, allocations: 235.8 kB / 0.5678 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.01466, allocations: 322.6 kB / 0.5681 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.01496, allocations: 454.5 kB / 0.5685 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.01622, allocations: 1.666 MB / 0.5701 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01623, allocations: 4 kB / 0.5701 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01623, allocations: 0 / 0.5701 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.759e-05/0.01626, allocations: 4 kB / 0.5702 GB, free: 12.95 MB / 0.4948 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.004828/0.02109, allocations: 2.624 MB / 0.5727 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.02114, allocations: 12.03 kB / 0.5727 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.02127, allocations: 134.8 kB / 0.5729 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.02342, allocations: 0.6938 MB / 0.5735 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.02432, allocations: 0.7633 MB / 0.5743 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.0246, allocations: 456 kB / 0.5747 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.02472, allocations: 80 kB / 0.5748 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.02633, allocations: 1.215 MB / 0.576 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.02635, allocations: 0 / 0.576 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.02642, allocations: 39.98 kB / 0.576 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.02643, allocations: 16 kB / 0.576 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.02812, allocations: 1.167 MB / 0.5772 GB, free: 5.57 MB / 0.4948 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.004191/0.03231, allocations: 2.843 MB / 0.5799 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00383/0.03614, allocations: 2.034 MB / 0.5819 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.0372, allocations: 0.7308 MB / 0.5826 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-05/0.03729, allocations: 17 kB / 0.5827 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.03731, allocations: 43.56 kB / 0.5827 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=98): time 3.066e-06/0.03732, allocations: 0 / 0.5827 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98): time 0.01928/0.0566, allocations: 8.919 MB / 0.5914 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.05665, allocations: 94.05 kB / 0.5915 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000968/0.05762, allocations: 0.9346 MB / 0.5924 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.05777, allocations: 41.7 kB / 0.5925 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.05802, allocations: 493.5 kB / 0.5929 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.05832, allocations: 360.8 kB / 0.5933 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.05856, allocations: 166.9 kB / 0.5934 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.05865, allocations: 341.9 kB / 0.5938 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.05966, allocations: 0.7092 MB / 0.5944 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.06073, allocations: 0.8462 MB / 0.5953 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.06279, allocations: 1.578 MB / 0.5968 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.0628, allocations: 7.938 kB / 0.5968 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.1878/0.2506, allocations: 4.541 MB / 0.6013 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.2506, allocations: 9.422 kB / 0.6013 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.2506, allocations: 7.219 kB / 0.6013 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003888/0.2545, allocations: 2.289 MB / 0.6035 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.255, allocations: 155.6 kB / 0.6037 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.2713, allocations: 10.77 MB / 0.6142 GB, free: 88.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/0.2722, allocations: 188 kB / 0.6144 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.2722, allocations: 38.78 kB / 0.6144 GB, free: 88.16 MB / 0.5105 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.0003139/0.2725, allocations: 238 kB / 0.6146 GB, free: 87.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.2727, allocations: 130.5 kB / 0.6147 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008737/0.2814, allocations: 4.499 MB / 0.6191 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.2815, allocations: 10.12 kB / 0.6191 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2815, allocations: 0.9844 kB / 0.6191 GB, free: 86.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.2815, allocations: 9.625 kB / 0.6192 GB, free: 86.95 MB / 0.5105 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.0104/0.2919, allocations: 5.56 MB / 0.6246 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.2919, allocations: 0 / 0.6246 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.2922, allocations: 115.1 kB / 0.6247 GB, free: 85.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003973/0.2962, allocations: 2.161 MB / 0.6268 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.2963, allocations: 25.44 kB / 0.6268 GB, free: 85.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/0.3099, allocations: 9.522 MB / 0.6361 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3099, allocations: 0 / 0.6361 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008608/0.3185, allocations: 5.607 MB / 0.6416 GB, free: 76.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.3188, allocations: 149.9 kB / 0.6417 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3189, allocations: 24 kB / 0.6418 GB, free: 76.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.3195, allocations: 119.8 kB / 0.6419 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005124/0.32, allocations: 240.6 kB / 0.6421 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.32, allocations: 24 kB / 0.6421 GB, free: 75.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004872/0.3205, allocations: 0.6434 MB / 0.6428 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3205, allocations: 0 / 0.6428 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009928/0.3215, allocations: 455 kB / 0.6432 GB, free: 74.67 MB / 0.5105 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.008378/0.3299, allocations: 6.192 MB / 0.6492 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003951/0.3338, allocations: 2.527 MB / 0.6517 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3338, allocations: 0 / 0.6517 GB, free: 65.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/0.3366, allocations: 1.73 MB / 0.6534 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.3372, allocations: 117.5 kB / 0.6535 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/0.3581, allocations: 16.25 MB / 0.6694 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3584, allocations: 0.5058 MB / 0.6699 GB, free: 47.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002764/0.3587, allocations: 94.89 kB / 0.67 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.359, allocations: 448.3 kB / 0.6704 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of SimCode: time 1.273e-06/0.359, allocations: 0 / 0.6704 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.4007, allocations: 41.07 MB / 0.7105 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.604, allocations: 7.859 kB / 0.7105 GB, free: 5.781 MB / 0.5105 GB " [Timeout remaining time 651] (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: 10.79882887378335] Failed to read output from testmodel.py, exit status != 0: 8.703687939792871 8.71040716 8.692618928 Calling exit ...